# _*_ coding : utf-8 _*_
# @Time : 2023/3/15 0015 18:08
# @Author : 菜鸟王小二
# @File : 16_urllib_代理池
# @Project : python爬虫
import random
# 爬虫公司都会有一个安全的代理池，里面都是安全的代理ip，然后随机选择
proxies_pool = [
    {'http':'182.34.102.50:9999111'},
    {'http':'182.34.102.50:99992222'},
    {'http':'182.34.102.50:99993333'}
]

proxies = random.choice(proxies_pool)
print(proxies)